package com.ruoyi.equipmentBook.mapper;

import java.util.List;

import com.ruoyi.equipmentBook.Vo.EquipmentBookListVo;
import com.ruoyi.equipmentBook.domain.EquipmentBook;

/**
 * 设备基础台账Mapper接口
 *
 * @author pengjie
 * @date 2023-12-20
 */
public interface EquipmentBookMapper
{
    /**
     * 查询设备基础台账
     *
     * @param equipmentId 设备基础台账主键
     * @return 设备基础台账
     */
    public EquipmentBook selectEquipmentBookByEquipmentId(String equipmentId);

    /**
     * 查询设备基础台账列表
     *
     * @param equipmentBook 设备基础台账
     * @return 设备基础台账集合
     */
    public List<EquipmentBook> selectEquipmentBookList(EquipmentBook equipmentBook);

    /**
     * 新增设备基础台账
     *
     * @param equipmentBook 设备基础台账
     * @return 结果
     */
    public int insertEquipmentBook(EquipmentBook equipmentBook);

    /**
     * 修改设备基础台账
     *
     * @param equipmentBook 设备基础台账
     * @return 结果
     */
    public int updateEquipmentBook(EquipmentBook equipmentBook);

    /**
     * 删除设备基础台账
     *
     * @param equipmentId 设备基础台账主键
     * @return 结果
     */
    public int deleteEquipmentBookByEquipmentId(String equipmentId);

    /**
     * 批量删除设备基础台账
     *
     * @param equipmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentBookByEquipmentIds(String[] equipmentIds);


    /**
     * 查询设备基础台账,并进行排序分页
     *
     * @param equipmentBookListVo
     * @return 设备基础台账
     */
    List<EquipmentBook> selectEquipmentBookListByOrder(EquipmentBookListVo equipmentBookListVo);

    List<EquipmentBook> selectEquipmentBookLike(String keyWord);
}
